package com.ziyucoding.springboot.labs.lab8.skywalking.dubbodemo.api.impl;

import com.ziyucoding.springboot.labs.lab8.skywalking.dubbodemo.api.UserServiceApi;

/**
 * 用户 RPC服务实现类
 *
 * @author ziyucoding
 * @date 2022-11-01
 **/
@org.apache.dubbo.config.annotation.Service(version = "1.0.0")
public class UserServiceApiImpl implements UserServiceApi {

    @Override
    public String findUserNameById(Integer id) {
        return "user:" + id;
    }

}
